package com.kim.authorization.server.config.util;

/**
 * 认证相关配置文件Properties
 */
public class AuthProperties {

    /**
     * 授权码获取code登录页面URL{@value}
     */
    public static final String LOGIN_PAGE = "/authorize/login";

    /**
     * 认证成功URL{@value}
     */
    public static final String LOGIN_PROCESS_URL = "/authorize/login/process";

    /**
     * 获取授权码后返回URL{@value}
     */
    public static final String AUTHORIZE_CODE = "/authorize/code";

    /**
     * 自定义授权页面URL{@value}
     */
    public static final String CONFIRM_ACCESS = "/custom/confirm_access";



    /**
     * 表单用户名{@value}
     */
    public static final String USERNAME_PARAMETER_NAME = "username";

    /**
     * 表单密码{@value}
     */
    public static final String PASSWORD_PARAMETER_NAME = "password";

    /**
     * 图片验证码{@value}
     */
    public static final String VERIFICATION_CODE_COMMON = "verification_code";

    /**
     * 图片验证码唯一键 {@value}
     */
    public static final String VERIFICATION_CODE_KEY_PARAMETER_NAME = "key";

    /**
     * 手机号 {@value}
     */
    public static final String AUTH_PHONE = "phoneNumber";

    /**
     * 手机号验证码 {@value}
     */
    public static final String AUTH_CODE = "phoneCode";

    /**
     * 微信唯一ID {@value}
     */
    public static final String AUTH_WECHAT_UNIONID = "unionId";


}
